<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加信息</title>
<script type="text/javascript" src="__PUBLIC__/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
function onloadFCk(){
	var fck=new FCKeditor('content');
	fck.BasePath="__PUBLIC__/fckeditor/";
	fck.Width="700";
	fck.Heigh="300";
	fck.ReplaceTextarea();
}
window.onload=onloadFCk;
function fnOnSubmit(form){
	var obj=FCKeditorAPI.GetInstance('content');
	obj.UpdateLinkedField();
}

</script>
</head>
<body>
<form action="__URL__/insert"  method="post">
信息标题：<input type="text" name="title" /> <br />
信息分类：<input type="text" name="category" /> <br />
是否发布：<input type="radio" name="published" value="1" />【是】
<input type="radio" name="published" value="0" />【否】
<br />
<input type="hidden" name="userid" value="<?php echo ($_SESSION['authId']); ?>"/>
信息内容：<br />
<textarea name="content" rows="300" cols="800"></textarea>
<br />

<input type="submit" value="保存" />


</form>
</body>
</html>